<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%String path = request.getContextPath();%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %>
<%@ taglib uri="/WEB-INF/tld/sys.tld" prefix="sys" %>
<%@ taglib uri="/WEB-INF/tld/fmt.tld" prefix="fmt"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <c:set var="ctx" value="${pageContext.request.contextPath}"/>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>个人信用报告（聚信立报告）</title>
    <jsp:include page="../../import.jsp" flush="true"/>
    <input type="hidden" value="${prjId}" name="prjId" id="prjId"/>
</head>
<script type="text/javascript">
    $(function () {
        
    });
</script>
<style>
    table,table tr th, table tr td { border:1px solid  #ececec; }
    table{
        margin-bottom: 20px;
    }
    th {
          text-align: center;
      }
    tr {
        height:27px;
    }
    td{
        padding-right:5px;
        padding-left: 5px;
    }
    span{
        position: relative;
        padding: 0 10px;
        line-height: 30px;
        text-align: center;
        color: #00877a;
    }
    div{ text-align:center }
</style>

<body class="iframeBody">
<div class="Wrapper">
    <div class="searchArea">
        <form id="searchBar">
            <c:if test="${jxlApplyDTOList!=null}">
            <c:forEach items="${jxlApplyDTOList }" var="jxlApply">
                <c:forEach items="${jxlApply.jxlmgReportDTOList}" var="jxlmgReport">
                <table width="90%" style=" border:1px solid #0094ff;margin-left: 23px; "  class="table_full">
                    <tr>
                        <td colspan="6"><span>个人信息报告（聚信立蜜罐分数）</span></td>
                    </tr>
                    <tr>
                        <td style="text-align: right;background:#e7fef4; ">灰度分数</td>
                        <td colspan="5" style="text-align: left; ">${jxlmgReport.gryMpScore}</td>
                    </tr>
                    <tr>
                        <td colspan="6"><span>基本信息</span></td>
                    </tr>
                    <tr>
                        <td  width="16%"  style="text-align: right;background:#e7fef4; "> 姓名</td><td  width="17%">${jxlmgReport.usrNm}</td>
                        <td width="16%"  style="text-align: right;background:#e7fef4; "> 性别</td><td  width="17%">${jxlmgReport.genderCd}</td>
                        <td width="16%"  style="text-align: right;background:#e7fef4; "> 身份证</td><td width="17%">${jxlmgReport.certNo}</td>
                    </tr>
                    <tr>
                    <td style="text-align: right;background:#e7fef4; ">年龄</td><td >${jxlmgReport.age}</td>
                    <td style="text-align: right;background:#e7fef4; "> 所在城市</td><td >${jxlmgReport.brnCity}</td>
                    <td style="text-align: right;background:#e7fef4; "> 电话号码</td><td >${jxlmgReport.mp}</td>
                </tr>
                    <tr>
                        <td style="text-align: right;background:#e7fef4; ">归属地</td><td >${jxlmgReport.mpCity}</td>
                        <td style="text-align: right;background:#e7fef4; "> 运营商</td><td >${jxlmgReport.mpOperator}</td>
                        <td style="text-align: right;background:#e7fef4; "> 省份</td><td >${jxlmgReport.mpProvince}</td>
                    </tr>
                    <tr>
                        <td style="text-align: right;background:#e7fef4; ">市县</td><td >${jxlmgReport.brnRegion}</td>
                        <td > </td><td ></td>
                        <td > </td><td ></td>
                    </tr>
                    <tr>
                        <td colspan="6"><span>黑名单信息</span></td>
                    </tr>
                    <tr>
                        <c:forEach items="${jxlmgReport.jxlmgBlkList}" var="blkList">
                        <td style="text-align: right;background:#e7fef4; ">身份证和姓名是否在黑名单</td><td colspan="2">${blkList.isCertnoUsrnmIn==1?"是":"否"}</td>
                        <td > 身份证和姓名黑名单信息更新时间</td><td  colspan="2"><fmt:formatDate value="${blkList.certnoUsrnmInUpdTm}" type="date" pattern="yyyy-MM-dd HH:mm:ss"/></td>
                        </c:forEach>
                    </tr>
                    <tr>
                        <td colspan="6"><span>用户灰度信息</span></td>
                    </tr>
                    <tr>
                        <td style="text-align: right;background:#e7fef4; ">灰度手机号码</td><td >${jxlmgReport.gryMp}</td>
                        <td style="text-align: right;background:#e7fef4; "> 直接联系人在黑名单的数量</td><td >${jxlmgReport.gryDrctCpBlkQty}</td>
                        <td style="text-align: right;background:#e7fef4; "> 间接联系人在黑名单的数量</td><td >${jxlmgReport.gryIndrctCpBlkQty}</td>
                    </tr>
                    <tr>
                        <td style="text-align: right;background:#e7fef4; ">手机灰度分数</td><td >${jxlmgReport.gryMpScore}</td>
                        <td style="text-align: right;background:#e7fef4; "> 一阶联系人总数</td><td >${jxlmgReport.gryFoCpQty}</td>
                        <td style="text-align: right;background:#e7fef4; "> 引起二阶黑名单人数</td><td >${jxlmgReport.grySoCpBlkQty}</td>
                    </tr>
                    <tr>
                        <td style="text-align: right;background:#e7fef4; ">引起占比</td><td >${jxlmgReport.grySoCpBlkPct}</td>
                        <td > </td><td ></td>
                        <td > </td><td ></td>
                    </tr>
                    <tr>
                        <td colspan="6" ><span>手机号码存疑</span></td>
                    </tr>
                    <c:if test="${jxlmgReport.jxlmgMpIdDubtList!=null}">
                        <tr >
                            <td colspan="6" style="text-align: left">手机号码存疑:1、用这个手机号绑定的其他身份证</td>
                        </tr>
                        <c:forEach items="${jxlmgReport.jxlmgMpIdDubtList}" var="jxlmgMpIdDubt">
                             <tr>
                                <td style="text-align: right;background:#e7fef4; "> 绑定身份证</td><td colspan="2">${jxlmgMpIdDubt.certNo}</td>
                                <td style="text-align: right;background:#e7fef4; "> 绑定时间</td><td colspan="2"><fmt:formatDate value="${jxlmgMpIdDubt.bindTm}" type="date" pattern="yyyy-MM-dd HH:mm:ss"/></td>
                            </tr>
                        </c:forEach>
                    </c:if>

                    <c:if test="${jxlmgReport.jxlmgMpNmDubtList!=null}">
                         <tr >
                             <td colspan="6" style="text-align: left">手机号码存疑:2、用这个手机号绑定的其他姓名</td>
                         </tr>
                         <c:forEach items="${jxlmgReport.jxlmgMpNmDubtList}" var="jxlmgMpNmDubt">
                             <tr>
                                 <td style="text-align: right;background:#e7fef4; "> 绑定姓名</td><td colspan="2" >${jxlmgMpNmDubt.usrNm}</td>
                                 <td style="text-align: right;background:#e7fef4; "> 绑定时间</td><td colspan="2"><fmt:formatDate value="${jxlmgMpNmDubt.bindTm}" type="date" pattern="yyyy-MM-dd HH:mm:ss"/></td>
                             </tr>
                         </c:forEach>
                    </c:if>
                    <c:if test="${jxlmgReport.jxlmgMpOrgDubtList!=null}">
                        <tr >
                        <td colspan="6" style="text-align: left"> 手机号码存疑:3、电话号码在哪些类型的机构在使用过</td>
                        </tr>
                        <c:forEach items="${jxlmgReport.jxlmgMpOrgDubtList}" var="jxlmgMpOrgDubt">
                        <tr>
                             <td style="text-align: right;background:#e7fef4; "> 机构所属分类</td><td colspan="2" >${jxlmgMpOrgDubt.orgTyp}</td>
                             <td style="text-align: right;background:#e7fef4; "> 查询时间</td><td colspan="2"><fmt:formatDate value="${jxlmgMpOrgDubt.bindTm}" type="date" pattern="yyyy-MM-dd HH:mm:ss"/></td>
                        </tr>
                    </c:forEach>
                    </c:if>
                    <tr>
                        <td colspan="6" ><span>身份证号码存疑</span></td>
                    </tr>
                    <c:if test="${jxlmgReport.jxlmgIdNmDubtList!=null}">
                        <tr >
                            <td colspan="6" style="text-align: left">身份证号码存疑:1、用这个身份证绑定的其他手机姓名</td>
                        </tr>
                        <c:forEach items="${jxlmgReport.jxlmgIdNmDubtList}" var="jxlmgIdNmDubt">
                            <tr>
                                <td style="text-align: right;background:#e7fef4; "> 绑定姓名</td><td colspan="2">${jxlmgIdNmDubt.usrNm}</td>
                                <td style="text-align: right;background:#e7fef4; "> 绑定时间</td><td colspan="2"><fmt:formatDate value="${jxlmgIdNmDubt.bindTm}" type="date" pattern="yyyy-MM-dd HH:mm:ss"/></td>
                            </tr>
                        </c:forEach>
                    </c:if>

                    <c:if test="${jxlmgReport.jxlmgIdMpDubtList!=null}">
                        <tr >
                            <td colspan="6" style="text-align: left">身份证号码存疑:2、用这个身份证绑定的其他手机号码</td>
                        </tr>
                        <c:forEach items="${jxlmgReport.jxlmgIdMpDubtList}" var="jxlmgIdMpDubt">
                            <tr>
                                <td colspan="6">
                                    <table width="99%">
                                        <th style="background:#e7fef4; ">所属省份</th>
                                        <th style="background:#e7fef4; ">所属运营商</th>
                                        <th style="background:#e7fef4; ">最后一次绑定时间</th>
                                        <th style="background:#e7fef4; ">存疑手机号码</th>
                                        <th style="background:#e7fef4; ">号码所在地区</th>
                                    <tr>
                                        <td >${jxlmgIdMpDubt.mpProvince}</td>
                                        <td >${jxlmgIdMpDubt.mpOperator}</td>
                                        <td ><fmt:formatDate value="${jxlmgIdMpDubt.bindTm}" type="date" pattern="yyyy-MM-dd HH:mm:ss"/></td>
                                        <td >${jxlmgIdMpDubt.mp}</td>
                                        <td >${jxlmgIdMpDubt.mpCity}</td>
                                </td>
                            </tr>
                            </table>
                            </tr>
                        </c:forEach>
                    </c:if>
                    <c:if test="${jxlmgReport.jxlmgIdOrgDubtList!=null}">
                        <tr >
                            <td colspan="6" style="text-align: left"> 身份证号码存疑:3、身份证在那些类型的机构中使用过</td>
                        </tr>
                        <c:forEach items="${jxlmgReport.jxlmgIdOrgDubtList}" var="jxlmgIdOrgDubt">
                            <tr>
                                <td style="text-align: right;background:#e7fef4; "> 机构所属分类</td><td colspan="2" >${jxlmgIdOrgDubt.orgTyp}</td>
                                <td style="text-align: right;background:#e7fef4; "> 查询时间</td><td colspan="2"><fmt:formatDate value="${jxlmgIdOrgDubt.bindTm}" type="date" pattern="yyyy-MM-dd HH:mm:ss"/></td>
                            </tr>
                        </c:forEach>
                    </c:if>

                    <tr>
                        <td colspan="6"><span>用户被机构查询历史</span></td>
                    </tr>
                    <c:forEach items="${jxlmgReport.jxlmgOrgSrchHisList}" var="jxlmgOrgSrchHist">
                    <tr>
                            <td style="text-align: right;background:#e7fef4; ">主动查询用户信息的机构类型</td><td >${jxlmgOrgSrchHist.orgTyp}</td>
                            <td style="text-align: right;background:#e7fef4; "> 是否是本机构查询</td><td >${jxlmgOrgSrchHist.isSelf}</td>
                            <td style="text-align: right;background:#e7fef4; "> 查询时间</td><td ><fmt:formatDate value="${jxlmgOrgSrchHist.serchTm}" type="date" pattern="yyyy-MM-dd HH:mm:ss"/></td>
                    </tr>
                    </c:forEach>
                    <tr>
                        <td colspan="6"><span>用户被机构查询数量（去重数量）</span></td>
                    </tr>
                    <tr>
                        <td style="text-align: right;background:#e7fef4; ">被机构查询次数</td>
                        <td colspan="5"  style="text-align: left; ">${jxlmgReport.searchedOrgQty}</td>
                    </tr>


                </table>
                </c:forEach>
            </c:forEach>
            </c:if>

        </form>
    </div>
</div>
<div id="ligergrid1" class="sq-grid"></div>
</body>
</html>